github.com/andybalholm/brotli.FastEncoder.bw (field)
27 uses
github.com/andybalholm/brotli (current package)
encoder_fast.go#L18: bw bitWriter
encoder_fast.go#L25: e.bw = bitWriter{}
encoder_fast.go#L29: e.bw.dst = dst
encoder_fast.go#L31: e.bw.writeBits(4, 15)
encoder_fast.go#L69: e.bw.writeBits(2, 3) // islast + isempty
encoder_fast.go#L70: e.bw.jumpToByteBoundary()
encoder_fast.go#L71: return e.bw.dst
encoder_fast.go#L81: storeMetaBlockHeaderBW(uint(len(src)), false, &e.bw)
encoder_fast.go#L82: e.bw.writeBits(13, 0)
encoder_fast.go#L86: buildAndStoreHuffmanTreeFastBW(literalHisto[:], uint(len(src)), 8, literalDepths[:], literalBits[:], &e.bw)
encoder_fast.go#L94: buildAndStoreHuffmanTreeFastBW(e.commandHisto[:], uint(commandCount), 10, commandDepths[:], commandBits[:], &e.bw)
encoder_fast.go#L102: buildAndStoreHuffmanTreeFastBW(e.distanceHisto[:], uint(distanceCount), 6, distanceDepths[:], distanceBits[:], &e.bw)
encoder_fast.go#L134: e.bw.writeBits(uint(commandDepths[command]), uint64(commandBits[command]))
encoder_fast.go#L139: e.bw.writeBits(uint(commandDepths[command]), uint64(commandBits[command]))
encoder_fast.go#L140: e.bw.writeBits(uint(kInsExtra[insertCode]), uint64(m.Unmatched)-uint64(kInsBase[insertCode]))
encoder_fast.go#L147: e.bw.writeBits(uint(literalDepths[c]), uint64(literalBits[c]))
encoder_fast.go#L157: e.bw.writeBits(uint(distanceDepths[distCode.code]), uint64(distanceBits[distCode.code]))
encoder_fast.go#L159: e.bw.writeBits(distCode.nExtra, distCode.extraBits)
encoder_fast.go#L170: e.bw.writeBits(uint(commandDepths[command]), uint64(commandBits[command]))
encoder_fast.go#L175: e.bw.writeBits(uint(commandDepths[command]), uint64(commandBits[command]))
encoder_fast.go#L176: e.bw.writeBits(uint(kCopyExtra[copyCode]), uint64(m.Length-2)-uint64(kCopyBase[copyCode]))
encoder_fast.go#L181: e.bw.writeBits(uint(commandDepths[command]), uint64(commandBits[command]))
encoder_fast.go#L182: e.bw.writeBits(uint(kCopyExtra[copyCode]), uint64(m.Length-2)-uint64(kCopyBase[copyCode]))
encoder_fast.go#L183: e.bw.writeBits(uint(distanceDepths[0]), uint64(distanceBits[0]))
encoder_fast.go#L193: e.bw.writeBits(2, 3) // islast + isempty
encoder_fast.go#L194: e.bw.jumpToByteBoundary()
encoder_fast.go#L196: return e.bw.dst
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |